# -*- coding: utf-8 -*-
import json
import os


def cat_all_fileds(json_file_name):
    with open(json_file_name) as file:
        json_object = json.load(file)
        return json_object


if __name__ == "__main__":
    dir_name = "E:\\dataset\\baidu_anomaly_detection\\data"
    file_name = os.path.join(dir_name, "merge_train.json")
    data = cat_all_fileds(file_name)

